const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:8080',
        changeOrigin: true
      }
    }
  },
  configureWebpack: {
    plugins: [
      // Disable CaseSensitivePathsPlugin
    ],
    resolve: {
      symlinks: false
    }
  },
  chainWebpack: config => {
    config.plugins.delete('case-sensitive-paths')
  }
})
